//用户相关的请求
import http from '../request';
//登录
export function login(data) {
  return http({
    method: 'post',
    url: '/api/shop/login',
    data,
  });
}
//注册
export function register(data) {
  return http({
    method: 'post',
    url: '/api/shop/register',
    data,
  });
}
